package com.jinglin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jinglin.entity.po.CategoryInfo;
import org.apache.ibatis.annotations.Param;

import java.util.ArrayList;

/**
 * <p>
 * 分类信息 Mapper 接口
 * </p>
 *
 * @author ${author}
 * @since 2025-03-06
 */
public interface CategoryInfoMapper extends BaseMapper<CategoryInfo> {

    Integer getMaxSort(@Param("pCategoryId") String pCategoryId);

    void updateBatchSort(ArrayList<CategoryInfo> arrayList);
}
